package com.hubstc.book_borrow.pojo;

import java.util.Date;


public class Book {
    private String bookId;
    private String bookCategory;
    private String bookName;
    private String author;
    private String publisher;
    private Date publishTime;
    private float price;
    private int stock;
    private int borrowNum;

    public Book() {
    }

    public Book(String bookId, String bookCategory, String author, String bookName, String publisher, Date publishTime, float price, int stock, int borrowNum) {
        this.bookId = bookId;
        this.bookCategory = bookCategory;
        this.author = author;
        this.bookName = bookName;
        this.publisher = publisher;
        this.publishTime = publishTime;
        this.price = price;
        this.stock = stock;
        this.borrowNum = borrowNum;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookCategory() {
        return bookCategory;
    }

    public void setBookCategory(String bookCategory) {
        this.bookCategory = bookCategory;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getBorrowNum() {
        return borrowNum;
    }

    public void setBorrowNum(int borrowNum) {
        this.borrowNum = borrowNum;
    }
}
